crypto/tls.serverHandshakeState.cert (field)
10 uses
crypto/tls (current package)
handshake_server.go#L38: cert *Certificate
handshake_server.go#L228: hs.cert, err = c.config.getCertificate(clientHelloInfo(hs.ctx, c, hs.clientHello))
handshake_server.go#L238: hs.hello.scts = hs.cert.SignedCertificateTimestamps
handshake_server.go#L252: if priv, ok := hs.cert.PrivateKey.(crypto.Signer); ok {
handshake_server.go#L265: if priv, ok := hs.cert.PrivateKey.(crypto.Decrypter); ok {
handshake_server.go#L486: if hs.clientHello.ocspStapling && len(hs.cert.OCSPStaple) > 0 {
handshake_server.go#L506: certMsg.certificates = hs.cert.Certificate
handshake_server.go#L514: certStatus.response = hs.cert.OCSPStaple
handshake_server.go#L522: skx, err := keyAgreement.generateServerKeyExchange(c.config, hs.cert, hs.clientHello, hs.hello)
handshake_server.go#L617: preMasterSecret, err := keyAgreement.processClientKeyExchange(c.config, hs.cert, ckx, c.vers)